package com.iplay.entity.cashback;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "global_cashback")
public class GlobalCashbackStrategyDO {
	@Id
	private int id;
	private double percentageForCustomer;
	private double percentageForRecommender;
	private double percentageForManager;
	
	public GlobalCashbackStrategyDO(int id, double percentageForCustomer, double percentageForRecommender,
			double percentageForManager) {
		super();
		this.id = id;
		this.percentageForCustomer = percentageForCustomer;
		this.percentageForRecommender = percentageForRecommender;
		this.percentageForManager = percentageForManager;
	}
	
	public GlobalCashbackStrategyDO(){}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public double getPercentageForCustomer() {
		return percentageForCustomer;
	}
	public void setPercentageForCustomer(double percentageForCustomer) {
		this.percentageForCustomer = percentageForCustomer;
	}
	public double getPercentageForRecommender() {
		return percentageForRecommender;
	}
	public void setPercentageForRecommender(double percentageForRecommender) {
		this.percentageForRecommender = percentageForRecommender;
	}
	public double getPercentageForManager() {
		return percentageForManager;
	}
	public void setPercentageForManager(double percentageForManager) {
		this.percentageForManager = percentageForManager;
	}
}
